<template>
  <div id="app">
    <Header></Header>
    <Swiper></Swiper>
    <!-- <Search></Search> -->
    <Content></Content>
    <Footer></Footer>
  </div>
</template>

<script>
import { shop_list } from "./api/api.js";
export default {
  data() {
    return {
      list: [],
    };
  },
  methods: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {
    // // 发请求：
    // axios.get('/api/shop/list',{params:{}}).then((res)=>{
    //   console.log(res.data);
    //   this.list = res.data.list
    // })

    // shop_list({}).then((res) => {
    //   console.log(res.data);
    //   this.list = res.data.list;
    // });
    shop_list({ userid: 1 }).then((res) => {});
  },
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  components: {},
};
</script>

<style lang="css">
* {
  padding: 0;
  margin: 0;
}
#app {
  margin: 0 auto;
}
</style>
